package com.ljkj.common.db.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the zjf_goods database table.
 * 
 */
@Entity
@Table(name="zjf_goods")
@NamedQuery(name="ZjfGood.findAll", query="SELECT z FROM ZjfGood z")
public class ZjfGood implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="goods_id")
	private String goodsId;

	@Column(name="create_time")
	private String createTime;

	@Column(name="create_user")
	private String createUser;

	@Column(name="disabled_state")
	private Integer disabledState;

	@Column(name="goods_activity_id")
	private String goodsActivityId;

	@Column(name="goods_activity_status")
	private Integer goodsActivityStatus;

	@Column(name="goods_class_id")
	private String goodsClassId;

	@Column(name="goods_click")
	private Integer goodsClick;
//是否为聚福商品 1 为 是聚福
	@Column(name="goods_clifford_status")
	private Integer goodsCliffordStatus;

	@Column(name="goods_cod")
	private Integer goodsCod;

	@Column(name="goods_collect")
	private Integer goodsCollect;

	@Column(name="goods_des")
	private String goodsDes;
	@Column(name="goods_des_img")
	private String goodsDesImg;

	@Column(name="goods_details")
	private String goodsDetails;

	@Column(name="goods_inventory")
	private Integer goodsInventory;

	@Column(name="goods_main_photo")
	private String goodsMainPhoto;

	@Column(name="goods_name")
	private String goodsName;

	@Column(name="goods_pack_details")
	private String goodsPackDetails;

	@Column(name="goods_price")
	private BigDecimal goodsPrice;
	//是否为推荐商品 1 为 是推荐
	@Column(name="goods_recommend")
	private Integer goodsRecommend;

	@Column(name="goods_salenum")
	private Integer goodsSalenum;

	@Column(name="goods_serial")
	private String goodsSerial;

	@Column(name="goods_service")
	private String goodsService;

	@Column(name="goods_shelves_time")
	private String goodsShelvesTime;

	@Column(name="goods_status")
	private Integer goodsStatus;

	@Column(name="goods_store_price")
	private BigDecimal goodsStorePrice;

	@Column(name="goods_transfee")
	private Integer goodsTransfee;

	@Column(name="update_time")
	private String updateTime;

	@Column(name="update_user")
	private String updateUser;

	public ZjfGood() {
	}

	public String getGoodsDesImg() {
		return goodsDesImg;
	}

	public void setGoodsDesImg(String goodsDesImg) {
		this.goodsDesImg = goodsDesImg;
	}

	public String getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Integer getDisabledState() {
		return this.disabledState;
	}

	public void setDisabledState(Integer disabledState) {
		this.disabledState = disabledState;
	}

	public String getGoodsActivityId() {
		return this.goodsActivityId;
	}

	public void setGoodsActivityId(String goodsActivityId) {
		this.goodsActivityId = goodsActivityId;
	}

	public Integer getGoodsActivityStatus() {
		return this.goodsActivityStatus;
	}

	public void setGoodsActivityStatus(Integer goodsActivityStatus) {
		this.goodsActivityStatus = goodsActivityStatus;
	}

	public String getGoodsClassId() {
		return this.goodsClassId;
	}

	public void setGoodsClassId(String goodsClassId) {
		this.goodsClassId = goodsClassId;
	}

	public Integer getGoodsClick() {
		return this.goodsClick;
	}

	public void setGoodsClick(Integer goodsClick) {
		this.goodsClick = goodsClick;
	}

	public Integer getGoodsCliffordStatus() {
		return this.goodsCliffordStatus;
	}

	public void setGoodsCliffordStatus(Integer goodsCliffordStatus) {
		this.goodsCliffordStatus = goodsCliffordStatus;
	}

	public Integer getGoodsCod() {
		return this.goodsCod;
	}

	public void setGoodsCod(Integer goodsCod) {
		this.goodsCod = goodsCod;
	}

	public Integer getGoodsCollect() {
		return this.goodsCollect;
	}

	public void setGoodsCollect(Integer goodsCollect) {
		this.goodsCollect = goodsCollect;
	}

	public String getGoodsDes() {
		return this.goodsDes;
	}

	public void setGoodsDes(String goodsDes) {
		this.goodsDes = goodsDes;
	}

	public String getGoodsDetails() {
		return this.goodsDetails;
	}

	public void setGoodsDetails(String goodsDetails) {
		this.goodsDetails = goodsDetails;
	}

	public Integer getGoodsInventory() {
		return this.goodsInventory;
	}

	public void setGoodsInventory(Integer goodsInventory) {
		this.goodsInventory = goodsInventory;
	}

	public String getGoodsMainPhoto() {
		return this.goodsMainPhoto;
	}

	public void setGoodsMainPhoto(String goodsMainPhoto) {
		this.goodsMainPhoto = goodsMainPhoto;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsPackDetails() {
		return this.goodsPackDetails;
	}

	public void setGoodsPackDetails(String goodsPackDetails) {
		this.goodsPackDetails = goodsPackDetails;
	}

	public BigDecimal getGoodsPrice() {
		return this.goodsPrice;
	}

	public void setGoodsPrice(BigDecimal goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public Integer getGoodsRecommend() {
		return this.goodsRecommend;
	}

	public void setGoodsRecommend(Integer goodsRecommend) {
		this.goodsRecommend = goodsRecommend;
	}

	public Integer getGoodsSalenum() {
		return this.goodsSalenum;
	}

	public void setGoodsSalenum(Integer goodsSalenum) {
		this.goodsSalenum = goodsSalenum;
	}

	public String getGoodsSerial() {
		return this.goodsSerial;
	}

	public void setGoodsSerial(String goodsSerial) {
		this.goodsSerial = goodsSerial;
	}

	public Object getGoodsService() {
		return this.goodsService;
	}

	public void setGoodsService(String goodsService) {
		this.goodsService = goodsService;
	}

	public String getGoodsShelvesTime() {
		return this.goodsShelvesTime;
	}

	public void setGoodsShelvesTime(String goodsShelvesTime) {
		this.goodsShelvesTime = goodsShelvesTime;
	}

	public Integer getGoodsStatus() {
		return this.goodsStatus;
	}

	public void setGoodsStatus(Integer goodsStatus) {
		this.goodsStatus = goodsStatus;
	}

	public BigDecimal getGoodsStorePrice() {
		return this.goodsStorePrice;
	}

	public void setGoodsStorePrice(BigDecimal goodsStorePrice) {
		this.goodsStorePrice = goodsStorePrice;
	}

	public Integer getGoodsTransfee() {
		return this.goodsTransfee;
	}

	public void setGoodsTransfee(Integer goodsTransfee) {
		this.goodsTransfee = goodsTransfee;
	}

	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUser() {
		return this.updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
public ZjfGood setNewObject(ZjfGood zjfGood){
	ZjfGood zjfGoodNew=new ZjfGood();
	zjfGoodNew.setGoodsId(zjfGood.getGoodsId());
	zjfGoodNew.setGoodsMainPhoto((zjfGood).getGoodsMainPhoto());
	return zjfGoodNew;
}
}